<!DOCTYPE HTML>
<!--
  ~ Druid - a distributed column store.
  ~ Copyright (C) 2012  Metamarkets Group Inc.
  ~
  ~ This program is free software; you can redistribute it and/or
  ~ modify it under the terms of the GNU General Public License
  ~ as published by the Free Software Foundation; either version 2
  ~ of the License, or (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program; if not, write to the Free Software
  ~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  -->

<html>
<head>
  <title>Druid Coordinator Console</title>
  <link rel="shortcut icon" type="image/ico" href="images/favicon.ico">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <meta name="Description" content="Druid Coordinator Console Page"/>

  <style type="text/css">@import "css/style.css";</style>
  <style type="text/css">@import "css/demo_table.css";</style>
  <style type="text/css">@import "css/index.css";</style>
  
  <script type="text/javascript" src="js/underscore-1.2.2.js"></script>
  <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script>
  <script type="text/javascript" src="js/jquery.dataTables-1.8.2.js"></script>
  <script type="text/javascript" src="js/druidTable-0.0.1.js"></script>
  <script type="text/javascript" src="js/tablehelper-0.0.2.js"></script>
  <script type="text/javascript" src="js/handlers-0.0.2.js"></script>
</head>

<body>
<div class="container">

  <div class="heading">Select View</div>
  <a href="cluster.html">Full Cluster View</a> or 
  <select id="select_type">
    <option value="servers">Servers</option>
    <option value="segments">Segments</option>
    <option value="datasources">DataSources</option>
  </select>

  <select id="select_view">
    <option value="table">Table</option>
    <option value="list">List</option>
    <option value="raw">Raw JSON</option>
  </select>
  <button type="button" id="view_button">Submit</button>

  <div class="heading">Selected Data</div>
  <div class="loading">Loading segment data... this may take a few minutes</div>
  <div id="selected_data"></div>
  <div id="table_wrapper">
    <table id="result_table"></table>
  </div>
</div>
</body>
</html>